package com.tony.training.issuetrack.db;

public class DBService {

	/**
	 * Holds singleton instance
	 */
	private static DBService instance;

	/**
	 * prevents instantiation
	 */
	private DBService() {
		// prevent creation
	}

	/**
	 * Returns the singleton instance.
	 @return	the singleton instance
	 */
	static public DBService getInstance() {
		if (instance == null) {
			instance = new DBService();
		}
		return instance;
	}
}
